package com.dc.android_study

import android.content.Context
import com.dc.diffutil.CommonRecyclerAdapter
import com.dc.diffutil.ViewHolder

class MainAdapter(context: Context, list: MutableList<ActivityEntity>): CommonRecyclerAdapter<ActivityEntity>(context, list, R.layout.item_main) {
    override fun convert(holder: ViewHolder, t: ActivityEntity, position: Int) {
        holder.setText(R.id.text, t.content)
    }
}